package cn.stylefeng.guns.modular.info.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @program: guns-vip
 * @description: 比赛概况
 * @author: xiesm
 * @create: 2019-12-30 17:58
 **/
@TableName("t_game")
@Data
public class Game implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    @TableField("fk_teamA_id")
    private Integer fkTeamAId;
    @TableField("fk_teamB_id")
    private Integer fkTeamBId;
    @TableField(exist=false)
    private String teamAName;
    @TableField(exist=false)
    private String teamBName;
    @TableField("fk_season_id")
    private Integer fkSeasonId;
    private String score;
    @TableField("score_half")
    private String scoreHalf;
    private Date date;
    private Integer run;
    @TableField("red_card_teamA")
    private Boolean redCardTeamA;
    @TableField("red_card_teamB")
    private Boolean redCardTeamB;
    private String memo;
    @TableField("fk_league_id")
    private String fkLeagueId;
    @TableField("own_goal_teamA")
    private Boolean ownGoalTeamA;
    @TableField("own_goal_teamB")
    private Boolean ownGoalTeamB;
    @TableField("shots_teamA")
    private Integer shotsTeamA;
    @TableField("shots_teamB")
    private Integer shotsTeamB;
    @TableField("fault_teamA")
    private Integer faultTeamA;
    @TableField("fault_teamB")
    private Integer faultTeamB;
    @TableField("point_teamA")
    private Boolean pointTeamA;
    @TableField("point_teamB")
    private Boolean pointTeamB;
    @TableField("corner_teamA")
    private Integer cornerTeamA;
    @TableField("corner_teamB")
    private Integer cornerTeamB;
    @TableField("first_halfA")
    private Integer firstHalfA;
    @TableField("first_halfB")
    private Integer firstHalfB;
    @TableField("second_halfA")
    private Integer secondHalfA;
    @TableField("second_halfB")
    private Integer secondHalfB;
    @TableField("minute_goal")
    private Integer minuteGoal;
    @TableField("yellow_change")
    private Integer yellowChange;
    @TableField("yellow_foot")
    private Boolean yellowFoot;
    @TableField("backup_goalA")
    private Boolean backupGoalA;
    @TableField("backup_goalB")
    private Boolean backupGoalB;
    @TableField("yellow_ten")
    private Boolean yellowTen;
    private Boolean surpass;
}
